package com.zzh.study.service;

import com.zzh.study.dao.WebFluxDemoPORepository;
import com.zzh.study.model.po.WebFluxDemoPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Mono;

/**
 * @PackageName:com.zzh.study.service
 * @ClassName:WebFluxDemoService
 * @Description:
 * @author:zhangzhanheng
 * @date: 2020/12/18 18:02
 */
@Service
public class WebFluxDemoService {

    @Autowired
    WebFluxDemoPORepository webFluxDemoPORepository;

    public Mono<WebFluxDemoPO> save(WebFluxDemoPO webFluxDemoPO) {
        return webFluxDemoPORepository.save(webFluxDemoPO);
    }


}
